<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--header==begin-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title?></title>
<meta name="keywords" content="<?php echo $meta_keywords?>" />
<meta name="description" content="<?php echo $meta_description?>" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<base href="<?php echo $base_url;?>" />
<?php echo $ico?>
<?php foreach ($css as $css) echo HTML::style($css, NULL, TRUE), "\n" ?>
<?php foreach ($js as $js) echo HTML::script($js, NULL, TRUE), "\n" ?>
<style type="text/css"><?php echo $style?></style>
<script type="text/javascript">
<?php echo $script?>
$(function(){
	$('#topmenu #<?php echo $location_main?>').toggleClass('current');
});
</script>
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="/media/css/ie-sucks.css" />
<![endif]-->
<!--google analytics begin -->
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-35990925-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<!--google analytics end -->
</head>

<body>
<!--header==end-->

<?php echo $extra;?>

<div id="container">
<?php echo $head;?>
<?php echo $main;?>
<?php echo $foot;?>
</div>

<!--bottom==begin-->
<?php foreach ($endjs as $js) echo HTML::script($js, NULL, TRUE), "\n" ?>
<script type="text/javascript"><?php echo $endscript?></script>

<!-- Baidu Button BEGIN -->
<script type="text/javascript" id="bdshare_js" data="type=slide&amp;img=3&amp;pos=left&amp;uid=796719" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000);
</script>
<!-- Baidu Button END -->

</body>
</html>
<!--bottom==end-->
